<div class="header">
  <div class="inner">
    <div class="top clear-fix">
      <div class="left">028-85031160</div>
      <div class="center">
        <a href="/"><img src="__PUBLIC__/images/logo.png" alt="彩矿家"></a>
      </div>
      <div class="right">
        <a href="{:U('login')}"><span></span></a>
      </div>
    </div>
    <div class="bottom">
      <div class="nav">
        <a class="{$active == 'home' ? 'active' : ''}" href="/">首页</a>
        <a class="{$active == 'diamond' ? 'active' : ''}" href="{:U('diamond')}">宝石</a>
        <a class="{$active == 'service' ? 'active' : ''}" href="{:U('service')}">定制服务</a>
        <a class="{$active == 'purchasing' ? 'active' : ''}" href="{:U('purchasing')}">全球猎宝</a>
        <a class="{$active == 'journal' ? 'active' : ''}" href="{:U('journal')}">彩矿家日记</a>
      </div>
    </div>
  </div>
</div>